﻿
public class CSKH
{
    public string PhoneNumber { get; set; }
    public string Content { get; set; }
    public CSKH()
    {
    }
    public static int RULE_AMOUNT_IN_DAY = 3;
    public MtResponse SendMT()
    {
        MtResponse mtResponse = new MtResponse();
        //SendMtLogModel mtLogModel = new SendMtLogModel();
        //if (mtLogModel.getCountMtToday(this.PhoneNumber) >= RULE_AMOUNT_IN_DAY)
        //{
        //    mtResponse.Response = MtResponse.OVER_AMOUNT;
        //}
        //else
        //{
        //    SendMtLog log = new SendMtLog();
        //    log.PhoneNumber = this.PhoneNumber;
        //    log.Content = this.Content;          
        //    mtResponse.Response = SendSortMessase.Send(this.PhoneNumber, this.Content);
        //    log.Response = mtResponse.Response;
        //    mtLogModel.Insert(log);
        //}
        return mtResponse;
    }

}
